package com.xu.cloud.shorturl.exception;

import com.xu.cloud.common.enums.ExceptionEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author xuguan
 * @since 2024/3/6
 */
@AllArgsConstructor
@Getter
public enum ShorUrlExceptionEnum implements ExceptionEnum<ShorUrlExceptionEnum> {
    ORIGIN_URL_NOT_EXIST("SU000001", "长地址不存在"),
    BATCH_TASK_EXECUTE_FAIL("SU000002", "批量任务执行异常"),
    ;

    private final String code;
    private final String message;
}
